package com.yxinsur.imc.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;

/**
 * 待导入续期主对象 imc_prerenewal
 * 
 * @author imc
 * @date 2021-05-26
 */
public class ImcPrerenewal extends BaseImcEntity
{
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private String id;

    /** 待续期月度 */
    @Excel(name = "待续期月度")
    private String renewalMonth;

    /** 代续期机构id */
    @Excel(name = "代续期机构id")
    private Long orgId;

    /** 是否已经导入Y N */
    @Excel(name = "是否已经导入Y N")
    private String isImported;

    /** 是否已经撤销Y N */
    @Excel(name = "是否已经撤销Y N")
    private String isCanceled;

    /** 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构） */
    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private Long tenantId;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setRenewalMonth(String renewalMonth) 
    {
        this.renewalMonth = renewalMonth;
    }

    public String getRenewalMonth() 
    {
        return renewalMonth;
    }
    public void setOrgId(Long orgId) 
    {
        this.orgId = orgId;
    }

    public Long getOrgId() 
    {
        return orgId;
    }
    public void setIsImported(String isImported) 
    {
        this.isImported = isImported;
    }

    public String getIsImported() 
    {
        return isImported;
    }
    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }

    public String getIsCanceled() {
        return isCanceled;
    }

    public void setIsCanceled(String isCanceled) {
        this.isCanceled = isCanceled;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("renewalMonth", getRenewalMonth())
            .append("orgId", getOrgId())
            .append("isImported", getIsImported())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("tenantId", getTenantId())
            .toString();
    }
}
